#pragma once
#include "KLineTypeEnum.h"

using namespace std;

class KLine
{
public:
	float m_high;
	float m_low;
	float m_close;
	float m_open;
	bool m_isApex;
	bool m_isButtom;

	KLineTypeEnum m_type;
	
	KLine(float high, float low, float close, float open);
	bool isPoint();
	void setApex();
	void setButtom();
	void setNotPoint();
};
